const getters = {
  basePath: state => state.settings.basePath, //图片显示基础url
  token: state => state.user.token,
  name: state => state.user.name, //用户名称，header中显示
  menu_count: state => state.user.menuCount, //有权限的菜单数量，用于界面权限控制
  dictionary: state => state.dictionary.dict, //数据字典
  dictionaryArr: state => state.dictionary.dictArr,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
};
export default getters
